package com.dotflat.training.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.utils.LikeableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@ApiModel("线下课程对象")
@EqualsAndHashCode(callSuper = true)
public class OTCoursePO extends AreableObjectBasePO {

	@LikeableField
	@ApiModelProperty(" varchar(50)  COMMENT '名称'")
	private String title;

	@ApiModelProperty("varchar(255)  COMMENT '封面'")
	private String cover;

	@ApiModelProperty("datetime DEFAULT NOW() COMMENT '开始日期'")
	private Date beginAt;

	@ApiModelProperty("int(3) COMMENT '开课状态，0.预约中  1.签到中  2.已结束'")
	private int status;

	@ApiModelProperty("varchar(512) COMMENT '简介'")
	private String shortDesc;

	@ApiModelProperty("longtext  COMMENT '内容'")
	private String content;
}
